﻿<%@ Page  Language="C#" AutoEventWireup="true" EnableViewState="false"  EnableViewStateMac="false"   CodeBehind="PrintResults.aspx.cs" Inherits="FreeProperty.Views.ProviderDirectory.PrintResults" %> 
<head id="Head1" runat="server">
    <title>Block Vision Print Results</title>
    <link rel="stylesheet" type="text/css" href='../../Styles/FreeProperty.css' media="screen" />
    
</head>

<body>
<div id="mainBody"><div align="center">
<div id="body">


<div class="form formNoLeftNav">



    <form id="frmContent" runat="server">
    
    <div id="MainContainer">
    <h2>
        Provider Directory</h2>
        <asp:HiddenField ID="hdnPageCount" runat="server" />
        <asp:HiddenField ID="hdnCurrentPage" runat="server" />
        <asp:HiddenField ID="hdnSelectedPane" runat="server" />
        <asp:HiddenField ID="hdnStatus" runat="server" />
      
        <table style="width:100%">
        <tr>
        <td style="width:70%"><asp:Label ID="lblResult" CssClass="error" runat="server"></asp:Label>
        </td>
        
        </tr>
        </table>
        
        
        <asp:GridView ID="grdSearchResults" runat="server" CssClass="gridTable" AutoGenerateColumns="False"
            CellPadding="4" GridLines="None" OnRowDataBound="grdSearchResults_RowDataBound">
            <Columns>
                <asp:TemplateField HeaderText="Provider">
                    <ItemTemplate>
                        <asp:Label ID="lblFirstName" runat="server" Text='<%# Bind("FirstName") %>'></asp:Label>
                        <asp:Label ID="lblLastName" runat="server" Text='<%#Bind("LastName") %>'></asp:Label>
                        <br />
                        <asp:Label ID="lblLocation" runat="server" Text='<%#Bind("LocationName") %>'></asp:Label>
                        <br />
                        <asp:Label ID="lblAddress" runat="server" Text='<%#Bind("Address") %>'></asp:Label>,
                        <br />
                        <asp:Label ID="lblCity" runat="server" Text='<%#Bind("City") %>'></asp:Label>,
                        <asp:Label ID="lblState" runat="server" Text='<%#Bind("State") %>'></asp:Label>
                        <asp:Label ID="lblZip" runat="server" Text='<%#Bind("ZipCode") %>'></asp:Label>
                        <br />
                        <asp:Label ID="lblPhone" runat="server" Text='<%#Bind("Phone") %>'></asp:Label><br />
                        <asp:Label ID="lblDistanceInfo" CssClass="distanceInfo" runat="server" ></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderText="Services">
                    <ItemTemplate>
                        <asp:Image ID="imgServicesA" ImageUrl="../../Styles/Images/eyechart.gif" runat="server" />
                        <asp:Image ID="imgServicesY" ImageUrl="../../Styles/Images/eyechart.gif" runat="server" />
                        <asp:Image ID="imgServicesC" ImageUrl="../../Styles/Images/eyechart.gif" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Provider Details">
                    <ItemTemplate>
                        Eyewear retailer:<asp:Label ID="lblSpeciality" runat="server" Text='<%#Bind("Class") %>'></asp:Label><br />
                        Language: <asp:Label ID="lblLanguage" runat="server" Text='<%#Bind("Language") %>'></asp:Label><br />
                        Accepting Patients:<asp:Label ID="lblAcceptingNewPatients" runat="server" Text='<%#Bind("AcceptingNewPatients")%>'></asp:Label><br />
                        Board Certified:<asp:Label ID="lblBoardCertified" runat="server" Text='<%#Bind("BoardCertified") %>'></asp:Label><br />
                        Gender:<asp:Label ID="lblGender" runat="server" Text='<%#Bind("Gender") %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField ItemStyle-HorizontalAlign="Center"  HeaderText="Map">
                    <ItemTemplate>
                        <asp:HyperLink ID="lnkMap" ImageUrl="../../Styles/Images/mapq.gif" Target="_blank" NavigateUrl="http://maps.google.com"
                            runat="server"></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <HeaderStyle CssClass="gridHeader" />
            <RowStyle CssClass="gridTable" />
            <AlternatingRowStyle CssClass="altRow" />
        </asp:GridView>
        
    </div>
    </form>
    </div>
 
</div></div>
</div>
    </body>
